# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-pypandoc
pkgver=1.5
pkgrel=2
pkgdesc="Thin wrapper for pandoc"
url="https://github.com/bebraw/pypandoc"
arch="x86_64" # pandoc
license="MIT"
depends="python3 pandoc"
makedepends="py3-setuptools"
options="!check" # missing pandoc-citeproc
source="https://files.pythonhosted.org/packages/source/p/pypandoc/pypandoc-$pkgver.tar.gz"
builddir="$srcdir/pypandoc-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="511f5f5f7bff8de686c3f74d3756d27a3ae245803e2e9b45abc957acf112b306eff057ce87e8f3b335de00b97d4753de31e9681830d9aa776247ca707683ed13  pypandoc-1.5.tar.gz"
